package com.heima.apis.wemedia;

import com.heima.model.wemedia.pojos.WmUser;
import io.swagger.annotations.ApiOperation;

/**
 * @Description:
 * @Version: V1.0
 */
public interface WmUserControllerApi {

    /**
     * 保存自媒体用户
     * @param wmUser
     * @return
     */
    @ApiOperation("保存自媒体用户")
    public WmUser save(WmUser wmUser);

    /**
     * 根据登录名查询当前用户
     * @param name
     * @return
     */
    @ApiOperation("按照名称查询用户")
    public WmUser findByName(String name);


}
